package day5;

/**
 * ClassName：TestWeek
 *
 * @Author：小鱼
 * @Create：2025-08-08 16:43
 */
public class TestWeek {
    public static void main(String[] args) {
        Week week1 = Week.MONDAY;
        Week week2 = Week.TUESDAY;
        Week week3 = Week.WEDNESDAY;
        Week week4 = Week.THURSDAY;
        Week week5 = Week.FRIDAY;
        Week week6 = Week.SATURDAY;
        Week week7 = Week.SUNDAY;
        System.out.println(week1);
        System.out.println(week1.name());
        System.out.println(week1.toString());
        System.out.println(week1.ordinal());//0
        System.out.println(week4.ordinal());//3
        System.out.println(week2.getDesc());
        week1.show();
    }
}
